package com.luntan.school.service.impl;

import com.luntan.school.dao.CategoryDao;
import com.luntan.school.dao.impl.CategoryDaolmpl;
import com.luntan.school.model.Category;
import com.luntan.school.service.CategoryService;

import java.util.List;

public class CategoryServiceImpl implements CategoryService {
    private CategoryDao categoryDao = new CategoryDaolmpl();
    @Override
    public List<Category> getAllCategories() {
        return categoryDao.getAllCategories();
    }
}
